﻿<%@ Page Title="首页 - 莆田市闽中广告装饰有限公司" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register src="UserControl/ucKefu.ascx" tagname="ucKefu" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="CssFile/default.css" rel="stylesheet" type="text/css" />
    <script src="JsFile/jquery-1.4.2.js" type="text/javascript"></script>
	<script src="JsFile/tabs.js" type="text/javascript"></script>
	<script src="JsFile/initialize.js" type="text/javascript"></script>
    <script src="JsFile/jcarousellite_1.0.1.pack.js" type="text/javascript"></script>
	<script src="JsFile/easing.js" type="text/javascript"></script>
	<script src="JsFile/justcorners.js" type="text/javascript"></script>
    <script src="JsFile/corner.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="ads" class="block clearfix">
    <div class="left">
        <p>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="650" height="210">
            <param name="movie" value="Flash/banner.swf" />
            <param name="quality" value="high" />
            <embed src="Flash/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="650" height="210"></embed>
          </object>
        </p>
    </div>
    <div class="right">
        <div class="block_header"><a href="NewsList.aspx" class="more">+更多</a></div>
        <div class="block_body">
            <ul>
                <asp:Repeater ID="rptNewsLatest" runat="server">
                    <ItemTemplate>
                        <li><a href="Detail.aspx?id=<%# Eval("ArticalId") %>" title='<%# Eval("ArticalTitle") %>'><%# ApplicationHelper.GetOmittedString(Eval("ArticalTitle").ToString(),32)%></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
</div>
<div class="line"></div>
<div id="product" class="block">
    <div id="productList">
    <ul class="clearfix">
        <asp:Repeater ID="rptProduct" runat="server">
            <ItemTemplate>
                <li><a href="ProductDetail.aspx?aid=<%# Eval("AlbumInfo.AlbumId") %>"><img alt="<%# Eval("PhotoName")%>" class="corner ishadow33" border="0" src="Images/<%# Eval("PhotoUrl") %>" height="120" width="167" /></a><br />
                    <a href="ProductDetail.aspx?aid=<%# Eval("AlbumInfo.AlbumId") %>"><%# Eval("PhotoName")%></a>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    </div>
</div>
<div id="case" class="block clearfix">
    <div class="left">
        <div class="block_header"><a href="CaseList.aspx" class="more"></a></div>
        <div class="block_body">
            <asp:Repeater ID="rptCase" runat="server">
                <ItemTemplate>
                    <ul class="clearfix">
                        <li class="left"><img border="0" class="corner iradius16 ishade40 ishadow30" alt="" src='Images/<%# Eval("ArticalImage") %>' width="95" height="130" /></li>
                        <li class="right">
                            <p class="title"><a href='Detail.aspx?id=<%# Eval("ArticalId") %>'><%# Eval("ArticalTitle")%></a></p>
                            <p class="content"><%# ApplicationHelper.GetOmittedString(ApplicationHelper.RemoveAllHtmlStript(Eval("ArticalContent").ToString()), 200)%></p>
                            <%--<p class="tag"><a href="#">标志与vi系统</a>&nbsp;&nbsp;<a href="#">标志与vi系统</a></p>--%>
                        </li>
                    </ul>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <div class="right">
        <div class="block_header"></div>
        <div class="block_body">
            <ul>
            <asp:Repeater ID="rptParent" runat="server" 
                    onitemdatabound="rptParent_ItemDataBound">
                <ItemTemplate>
                    <li>
                        <a class="c_title"><%# Eval("AlbumName")%></a>
                        <asp:HiddenField ID="hfCId" runat="server" Value='<%# Eval("AlbumId")%>' />
                        <ul class="clearfix">
                            <asp:Repeater ID="rptSub" runat="server">
                                <ItemTemplate>
                                    <li class="s_title"><a href='ProductDetail.aspx?aid=<%# Eval("AlbumId")%>'><%# Eval("AlbumName")%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
            </ul>
        </div>
        <div class="block_header1"><a href="Message.aspx" class="more"></a></div>
        <div class="block_body1">
            <ul>
                <asp:Repeater ID="rptMessage" runat="server">
                    <ItemTemplate>
                        <li><a href="Message.aspx?id=<%# Eval("MessageId") %>" target="_blank"><%# ApplicationHelper.GetOmittedString(Eval("MessageContent").ToString(), 30)%></a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
</div>
<div id="flink" class="block">
    <div class="hd"></div>
    <div class="bd">
        <ul class="clearfix">
            <asp:Repeater ID="rptFlink" runat="server">
                <ItemTemplate>
                    <li><a href="<%# Eval("FriendUrl") %>" target="_blank"><%# Eval("FriendUrlName")%></a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>
</asp:Content>

